/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Ejercicio_11_5_1;

/**
 *
 * @author alumno
 */
public class GerenteClass extends EmpleadoClass {

    public EmpleadoClass[] empleados ;

    public void mostrarEmpleados() {

        System.out.println("Hay " + this.empleados.length + " empleados");

        for (int count = 0; count < this.empleados.length  ; count++) {

                empleados[count].mostrarInfo() ;

        }

   }

}

